Component org.nuxeo.ecm.platform.ui.web.rest.URLService.contrib
In bundle org.nuxeo.ecm.platform.ui
Documentation
Contributions for basic rest navigation through the application.
Resolution Order
506
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.ui.web.rest.URLService.contrib">
<documentation>
Contributions for basic rest navigation through the application.
@author Anahide Tchertchian (at@nuxeo.com)
</documentation>
<extension target="org.nuxeo.ecm.platform.ui.web.rest.URLService"
point="urlpatterns">
<documentation>
Basic url pattern using the doc id codec: it places the application in the
document context described by the url and sets current tabs.
Additional url pattern using the doc path codec.
</documentation>
<urlPattern name="id" enabled="true">
<defaultURLPolicy>false</defaultURLPolicy>
<needBaseURL>true</needBaseURL>
<needRedirectFilter>true</needRedirectFilter>
<needFilterPreprocessing>true</needFilterPreprocessing>
<codecName>docid</codecName>
<actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding>
<documentViewBinding>#{restHelper.documentView}</documentViewBinding>
<newDocumentViewBinding>
#{restHelper.newDocumentView}
</newDocumentViewBinding>
<bindings>
<binding name="tabId" callGetter="false">
#{webActions.currentTabId}
</binding>
<binding name="subTabId" callGetter="false">
#{webActions.currentSubTabId}
</binding>
<binding name="tabIds">#{webActions.currentTabIds}</binding>
<binding name="language" callGetter="false">
#{restHelper.localeString}
</binding>
</bindings>
</urlPattern>
<urlPattern name="default" enabled="true">
<defaultURLPolicy>true</defaultURLPolicy>
<needBaseURL>true</needBaseURL>
<needRedirectFilter>true</needRedirectFilter>
<needFilterPreprocessing>true</needFilterPreprocessing>
<codecName>docpath</codecName>
<actionBinding>#{restHelper.initContextFromRestRequest}</actionBinding>
<documentViewBinding>#{restHelper.documentView}</documentViewBinding>
<newDocumentViewBinding>
#{restHelper.newDocumentView}
</newDocumentViewBinding>
<bindings>
<binding name="tabId" callGetter="false">
#{webActions.currentTabId}
</binding>
<binding name="subTabId" callGetter="false">
#{webActions.currentSubTabId}
</binding>
<binding name="tabIds">#{webActions.currentTabIds}</binding>
<binding name="language" callGetter="false">
#{restHelper.localeString}
</binding>
<binding name="mainTabId" callGetter="false">
#{webActions.currentTabIds}
</binding>
</bindings>
</urlPattern>
</extension>
</component>